//
//  Profile.h
//  GradeKeeper
//
//  Created by Lily Wang on 11/1/09.
//  Copyright 2009 i5. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Semester.h"

@interface Profile : NSObject {
	NSString *takenCredits;
	NSString *userName;
	NSString *enteredCGPA;
	NSString *enteredCreditsUsed;
	NSString *enteredSemester;
	NSMutableArray *semesters;
	
}

@property(nonatomic,retain) NSString *takenCredits;
@property(nonatomic,retain) NSString *userName;
@property(nonatomic,retain) NSString *enteredCGPA;
@property(nonatomic,retain) NSString *enteredCreditsUsed;
@property(nonatomic,retain) NSString *enteredSemester;
@property(nonatomic,retain) NSMutableArray *semesters;
+ (Profile *) sharedProfile; 
- (void) setUserName: (NSString *) userName;
- (void) setCGPA : (NSString *) CGPA;
- (void) setCreditsUsed : (NSString *) creditUsed;
- (void) setSemester: (NSString *) semester;
- (NSString *) getUserName;
- (NSString *) getCGPA;
- (NSString *) getCreditsUsed;
- (NSString *) getSemester;
- (void) update;
- (BOOL) addSemester:(Semester*)newSemester;



@end
